﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace FlyingClub.Models.ViewsModels
{
    public class MemberCreateViewModel
    {
        public int ID { get; set; }

        [Required(ErrorMessage="Un prénom est requis")]
        public string Firstname { get; set; }

        [Required(ErrorMessage = "Un nom est requis")]
        public string Lastname { get; set; }

        [Required(ErrorMessage = "Une adresse e-mail est requises")]
        public string Email { get; set; }

        [Required(ErrorMessage = "Un mot de passe est requis")]
        public string Password { get; set; }

        [Required(ErrorMessage = "le sexe est requis")]
        public bool Gender { get; set; }

        public string AddressNumber { get; set; }
        public string AddressStreet { get; set; }
        public string AddressCity { get; set; }
        public string AddressCode { get; set; }
        public string AddressCountry { get; set; }
        public int? Wallet { get; set; }
        public bool Staff { get; set; }
        public int? InstructorNumber { get; set; }
        public DateTime AdhesionDate { get; set; }
        public DateTime AdhesionFees { get; set; }

    }
}